use std::sync::Arc;

/// Represents the metrics of a mailbox.
#[derive(Debug, Clone)]
pub struct MailboxMetrics {
    pub message_count: usize,
    pub processing_time: f64, // Example metric
}

impl MailboxMetrics {
    pub fn new() -> Self {
        Self {
            message_count: 0,
            processing_time: 0.0,
        }
    }

    pub fn increment_message_count(&mut self) {
        self.message_count += 1;
    }

    pub fn add_processing_time(&mut self, time: f64) {
        self.processing_time += time;
    }
} 